#! /usr/bin/env python
# -*- coding: utf-8 -*-

# *************************************************************
#     Filename @  write_and_create.py
#       Author @  Huoty
#  Create date @  2016-03-28 18:49:05
#  Description @  
# *************************************************************

import csv

# Script starts from here

csvfile = file("csv_test.csv", "wb")
writer = csv.writer(csvfile)
writer.writerow(["姓名", "年龄", "电话"])

data = [("huoty", "25", "1234567"), ("小芳", "18", "7890123")]

writer.writerows(data)

csvfile.close()
